package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class User extends BaseDomain{

    //邮箱
    public static final long STATE_ENABLE=0;//可以领取
    public static final long STATE_DISABLE=1;//不能领取
    private String email;

    //昵称
    private String nickName;

    //密码
    private String password;

    //地区
    private String place;

    //头像
    private String headImgUrl;

    //性别
    private Integer gender;

    //封面
    private String coverImgUrl;

    //签名
    private String sign;

    //粉丝数量
    private Integer fans;

    //关注数量
    private Integer followers;

    public Integer getFans(){
        return fans==null?0:fans;
    }

    public Integer getFollowers(){
        return followers==null?0:followers;
    }
    //领取按钮的状态
    private Long state;


}